3.340 \(\int \frac{1}{\frac{b}{x^3}+a x} \, dx\)

Optimal. Leaf size=15 \[ \frac{\log \left (a x^4+b\right )}{4 a} \]

[Out]

Log[b + a*x^4]/(4*a)

________________________________________________________________________________________

Rubi [A]  time = 0.0053283, antiderivative size = 15, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.182, Rules used = {1593, 260} \[ \frac{\log \left (a x^4+b\right )}{4 a} \]

Antiderivative was successfully verified.

[In]

Int[(b/x^3 + a*x)^(-1),x]

[Out]

Log[b + a*x^4]/(4*a)

Rule 1593

Int[(u_.)*((a_.)*(x_)^(p_.) + (b_.)*(x_)^(q_.))^(n_.), x_Symbol] :> Int[u*x^(n*p)*(a + b*x^(q - p))^n, x] /; F
reeQ[{a, b, p, q}, x] && IntegerQ[n] && PosQ[q - p]

Rule 260

Int[(x_)^(m_.)/((a_) + (b_.)*(x_)^(n_)), x_Symbol] :> Simp[Log[RemoveContent[a + b*x^n, x]]/(b*n), x] /; FreeQ
[{a, b, m, n}, x] && EqQ[m, n - 1]

Rubi steps

\begin{align*} \int \frac{1}{\frac{b}{x^3}+a x} \, dx &=\int \frac{x^3}{b+a x^4} \, dx\\ &=\frac{\log \left (b+a x^4\right )}{4 a}\\ \end{align*}

Mathematica [A]  time = 0.0047679, size = 15, normalized size = 1. \[ \frac{\log \left (a x^4+b\right )}{4 a} \]

Antiderivative was successfully verified.

[In]

Integrate[(b/x^3 + a*x)^(-1),x]

[Out]

Log[b + a*x^4]/(4*a)

________________________________________________________________________________________

Maple [A]  time = 0.001, size = 14, normalized size = 0.9 \begin{align*}{\frac{\ln \left ( a{x}^{4}+b \right ) }{4\,a}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(b/x^3+a*x),x)

[Out]

1/4*ln(a*x^4+b)/a

________________________________________________________________________________________

Maxima [A]  time = 1.11956, size = 18, normalized size = 1.2 \begin{align*} \frac{\log \left (a x^{4} + b\right )}{4 \, a} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(b/x^3+a*x),x, algorithm="maxima")

[Out]

1/4*log(a*x^4 + b)/a

________________________________________________________________________________________

Fricas [A]  time = 0.705642, size = 30, normalized size = 2. \begin{align*} \frac{\log \left (a x^{4} + b\right )}{4 \, a} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(b/x^3+a*x),x, algorithm="fricas")

[Out]

1/4*log(a*x^4 + b)/a

________________________________________________________________________________________

Sympy [A]  time = 0.17412, size = 10, normalized size = 0.67 \begin{align*} \frac{\log{\left (a x^{4} + b \right )}}{4 a} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(b/x**3+a*x),x)

[Out]

log(a*x**4 + b)/(4*a)

________________________________________________________________________________________

Giac [A]  time = 1.09987, size = 19, normalized size = 1.27 \begin{align*} \frac{\log \left ({\left | a x^{4} + b \right |}\right )}{4 \, a} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(b/x^3+a*x),x, algorithm="giac")

[Out]

1/4*log(abs(a*x^4 + b))/a